import request from "@/utils/request";

/***************************************************** 城市屏蔽 ****************************************************/

/**
 * 获取城市表格列表
 * @param params
 * @returns
 */
export function getCityBlackList(params: any) {
  return request.get(`/htscrm/city_black/list`, { params });
}

/**
 * 获取城市下拉菜单
 * @param params
 * @returns
 */
export function getCityBlackCityList(params?: any) {
  return request.get(`/htscrm/city_black/city_list`, { params });
}

/**
 * 获取新增城市
 * @param params
 * @returns
 */
export function getCityBlackAdd(params: any) {
  return request.post(`/htscrm/city_black/add`, params);
}

/**
 * 删除城市
 * @param params
 * @returns
 */
export function getCityBlackDel(params: any) {
  return request.post(`/htscrm/city_black/del`, params);
}
